package com.music.glide.load.engine.bitmap_recycle

import android.graphics.Bitmap

class KBitmapPoolAdapter : KBitmapPool {
    override fun getMaxSize(): Long {
        return 0
    }

    override fun setSizeMultiplier(sizeMultiplier: Float) {
    }

    override fun put(bitmap: Bitmap) {
    }

    override fun get(width: Int, height: Int, config: Bitmap.Config): Bitmap {
        return Bitmap.createBitmap(width, height, config)
    }

    override fun getDirty(width: Int, height: Int, config: Bitmap.Config): Bitmap {
        return get(width, height, config)
    }

    override fun clearMemory() {
    }

    override fun trimMemory(level: Int) {
    }

}